<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%

String ip=request.getHeader("X-Forwarded-For");
if(ip!=null){
if(true){

}else{
 response.sendRedirect(request.getContextPath()+"/login.jsp");

 }
}

 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="UTF-8" />
<title>征途风云</title>
</head>
 
<body>
 
<div id="loginContainer">
	
	<div id="loginMain">
		
		<div id="LoginFormContainer">
<form method="post" id="loginForm" action="${pageContext.request.contextPath}/j_spring_security_check" target="_self">

			<p>
				<label for="TestUserName"><strong id="ForTestUserName">用户名:</strong></label>
				<input name="j_username" id="j_username" class="txtInput"  value="" />
			</p>
 
			<p>
				<label for="TestUserPWD"><strong id="ForTestUserPWD">密&nbsp;&nbsp;&nbsp;码:</strong></label>
				<input name="j_password" type="password"  id="j_password" class="txtInput"  value="" />
			</p>
			<p>
				<label for="TestUserPWD"><strong id="ForTestUserPWD">验证码:</strong></label>
				<input name="j_code"   id="j_code" class="txtInput"  value="" />
				<img id="code" name="code" width="60" height="20" src="<%=request.getContextPath()%>/vimage/" />
			</p>
			
			
 
            <p>
				<input type="submit" id="SubmitLoginBTN" value="登录(L)" accesskey="L" class="loginSubmit" />
			</p>
 
            <div id="ActionMessage" class="notice" style="display:none;"></div>
</form>
		</div>
	</div>
	<img src="Image/login_bg_right.gif" class="loginBgImage"/>
	<br class="clear" />
</div>

</body>
</html>

